package com.nkym.wypan.model.req.userfile;/*
 * @ClassName AddUserFileReq
 * @Desc TODO
 * @Author 19637
 * @Date 2023/6/7 18:37
 * @Version 1.0
 */

import com.nkym.wypan.utils.PageUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryUserFileReq extends PageUtil {

    /**
     * 上级文件夹ID，父文件夹为0
     */
    @NotNull(message = "上级目录能为空")
    @Min(value = 0L, message = "目录异常范围")
    private Long parentId;

    private static final long serialVersionUID = 1L;

}
